class Settings:
    """创建设置类，放置与参数相关的属性信息"""

    def __init__(self):

        # 游戏窗口的宽
        self.screen_width = 1200

        # 游戏窗口的高
        self.screen_height = 800

        # 游戏窗口的背景色
        self.bg_color = (230, 230, 230)

        # 子弹设置
        self.bullet_speed = 0.1
        self.bullet_width = 3
        self.bullet_height = 15
        self.bullet_color = (60, 60, 60)

        # 外星人速度设置
        self.alien_speed = 0.1
        self.fleet_drop_speed = 10
        self.fleet_direction = 1